#include <stdio.h>
int main ()
{
	int inumber;
	int sum;
	for (inumber=1;inumber<=100;inumber++)
	{
		sum =inumber+sum;
		
	}
	printf("the result is :%d\n",sum);
	sum =0;
	inumber =1;
	while (inumber<=100)
	{
		sum =sum+inumber;
		inumber++;
		
	}
	printf("the result is :%d\n",sum);
	return 0;
}
